CleantalkSP\SpbctWP\FileEditorDisabler\FileEditorDisabler S

Total Complexity 50
Dependencies 0
Dependents 4
Total lines 283
Lines of code 183
Logical lines of code 96
Comment lines 50
Methods 10
Properties 0

Methods 10

Method Rating Maintainability Complexity Lines of code
syncDisallowFileEditBySettings()
B
43 19 47
addDisallowFileEdit()
A
49 7 32
cleanupBackups()
S
57 5 16
isConfigAccessible()
S
60 5 15
backupWpConfig()
S
57 4 15
removeDisallowFileEdit()
S
58 3 16
getErrorMessage()
S
51 2 30
getWpConfigPath()
S
72 2 5
hasDisallowFileEditBlock()
S
74 2 4
hasDisallowFileEditConstant()
S
78 1 3